package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.QuoteTemplate;
import com.jsh.erp.datasource.entities.QuoteTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuoteTemplateMapper {
    long countByExample(QuoteTemplateExample example);

    int deleteByExample(QuoteTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(QuoteTemplate record);

    int insertSelective(QuoteTemplate record);

    List<QuoteTemplate> selectByExample(QuoteTemplateExample example);

    QuoteTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") QuoteTemplate record, @Param("example") QuoteTemplateExample example);

    int updateByExample(@Param("record") QuoteTemplate record, @Param("example") QuoteTemplateExample example);

    int updateByPrimaryKeySelective(QuoteTemplate record);

    int updateByPrimaryKey(QuoteTemplate record);
}